package com.health.personal.mapper;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.health.common.core.po.TuserPo;
import org.apache.ibatis.annotations.Mapper;

/**
*@BelongsProject: dimensionality-manage
*@BelongsPackage: com.health.personal.mapper
*@Author: 许力匀
*@CreateTime: 2024-12-12  19:43
*@Description: 患者mapper层
*@Version: 1.0
*/
@Mapper
@TableName
public interface TUserMapper extends BaseMapper<TuserPo> {

    /**
     * 根据邮箱修改密码
     */
    boolean updatePassword(String email, String password);

    /**
     * 注册患者信息
     */
    int register(TuserPo tuserPo);

}
